DataSource for Entity Framework in WPF
C1.LiveLinq.AdoNet Namespace / AdoNetExtensions Class / AsLive Method / AsLive<TRow>(TypedTableBase<TRow>) Method
The type of the rows in the table.
The typed data table to expose as a view.

In This Topic
    AsLive<TRow>(TypedTableBase<TRow>) Method
    In This Topic
    Creates a view based on the specified typed data table.
    Syntax
    'Declaration
     
    Public Overloads Shared Function AsLive(Of TRow As DataRow)( _
       ByVal table As TypedTableBase(Of TRow) _
    ) As View(Of TRow)
    public static View<TRow> AsLive<TRow>( 
       TypedTableBase<TRow> table
    )
    where TRow: DataRow

    Parameters

    table
    The typed data table to expose as a view.

    Type Parameters

    TRow
    The type of the rows in the table.

    Return Value

    A view that contains the same elements as table.
    See Also